$(document).ready(function() {
    $.ajax({
        type:"GET",
        url:"/crm/user/json",
        dataType:"json",
        success:function (data) {
            var options = "<option value=\"\">--请选择--</option>";
            for(var i = 0; i < data.length; i++){
                options += "<option value=\""+data[i].usrId+"\">"+data[i].usrName+"</option>";
            }
            $("#users").html(options);
        },
        error:function(data){
            alert("对不起获取数据失败");
        }
    });
});